﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Enterprise.Management.Caches
{
    public class BranchCategoryCache
    {
        private const string BRANCH_CATEGORY = "branch-category";

        public static int? BranchCategoryId
        {
            get {
                string content = CookieCache.GetCookie(BRANCH_CATEGORY);
                if (string.IsNullOrEmpty(content)) return null;
                return Convert.ToInt32(content);
            }
        }
    }
}